﻿using BasicData.Application.Input;
using BasicData.Application.Input.BOM;
using BasicData.Application.Input.Workshop;
using BasicData.Application.Output;
using BasicData.Result;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BasicData.Application.Services.BOM
{
    public interface IBOMServices
    {
        ApiResult<int> AddBom(BomInput input);
        ApiPaging<BomOutput> GetBom(PageInput input);
        ApiResult<int> UpdateBom(UpdateBomInput input);
        ApiResult<int> DeleteBom(long id);

        //Bom配件
        ApiResult<int> AddBomSparepart(BomSparepartInput input);
        ApiPaging<BomSparepartOutput> GetBomSparepart(PageInput input);
        ApiResult<int> UpdateBomSparepart(UpdateBomSparepart input);
        ApiResult<int> DeleteBomSparepart(long id);


    }
}
